#!/usr/bin/env python
import time
import random
import LED_Strip as ledstrip

ledstrip.init()
ledstrip.test()
ledstrip.description()

time.sleep(1)

# switching on LEDs 0 to 7
for i in range (0,8):
  ledstrip.set_led(i,1)
  time.sleep(0.5)

print(ledstrip.get_led_states())
time.sleep(1)

# switching off all LEDs
for i in range (0,8):
  ledstrip.set_led(i,0)

print(ledstrip.get_led_states())

for i in range (0,256):
  ledstrip.set_binary(i)
  time.sleep(0.25)
